//
//  netWorkHandler.h
//  ui18 _网络请求
//
//  Created by lirui on 15/12/31.
//  Copyright © 2015年 www.lanou3g.com蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef void(^NETBLOCK)(id result);


@interface netWorkHandler : NSObject
//GET
+(void)GETWithURL:( NSString *)str completion:(NETBLOCK) netBlock;

//post
+(void)POSTWithURL:( NSString *)str body:(NSData *)body completion:(NETBLOCK) netBlock;
@end
